package cn.detu.ln.service;

import cn.detu.ln.entity.Motive;
import cn.detu.ln.utils.RestUtil;

/**
 * @author :ln
 * @version : 1.0
 * @Project : education_backend
 * @Package : cn.detu.ln.service
 * @ClassName : MotiveService.java
 * @createTime : 2023/4/4 10:28
 * @Description :
 */
public interface MotiveService {
    RestUtil selectAll();
    RestUtil motiveDelete(Integer motiveId);

    RestUtil motiveUpdate(Motive motive);

    RestUtil motiveInsert(Motive motive);
    // 学生根据学号 + 课程名称查询学力值
    RestUtil queryMotiveByStuCouNamePage(Integer current, Integer rows, Long stuNum,String search);

    // 学生根据学号 + 周数查询学力值
    RestUtil queryMotiveByStuWeekPage(Integer current, Integer rows, Long stuNum,String search);

    // 教师根据学号查询学力值
    RestUtil queryMotiveByStuNumPage(Integer current, Integer rows,Long stuNum);
    // 按课程名称模糊查询
    RestUtil queryMotiveByPage(Integer current, Integer rows, String search);

}
